package cn.kshost.zqyg.order;

import cn.kshost.zqyg.client.product.fallback.ProductFeignFallback;
import cn.kshost.zqyg.common.feign.EnableFeignInterceptor;
import cn.kshost.zqyg.common.service.anno.EnableUserMvcConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@EnableUserMvcConfiguration
@EnableFeignInterceptor
@SpringBootApplication()
@EnableFeignClients(basePackages ={ "cn.kshost.zqyg.client.product", "cn.kshost.zqyg.client.user","cn.kshost.zqyg.client.cart"})
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
